<?php die;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title>用户中心--<!--{$smarty.const.MICE_TITLE}--></title>
<meta name="keywords" content="<!--{$smarty.const.MICE_TITLE}-->,用户中心,<!--{$smarty.const.MICE_KW}-->" />
<meta name="description" content="用户中心,<!--{$smarty.const.MICE_DP}-->" />
<meta http-equiv="imagetoolbar" content="no" />
<base href="<!--{$smarty.const.MICE_URL}-->" />
<link href="css/global.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/index/css/theme<!--{'micefun'|MiceSession:'index_theme'}-->.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/default.js"></script>
<link rel="icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
</head>

<body>
<div id="page">
<!--{include file="index/header.php"}-->
<div id="midcon">
  <div id="midleft">
    <table width="750" height="36" border="0" cellpadding="0" cellspacing="0" id="midleftBt">
      <tr>
        <td class="midlBt"><img src="imgs/arr4.gif" width="15" height="15" align="absmiddle" style="margin:auto 5px auto 8px;" />用户中心</td>
        <td align="right" style="padding-right:8px; color:#999999;"><a href="<!--{'micefun'|GetUrl:'index'}-->">首页</a>—<a href="<!--{$smarty.const.MICE_URL}-->index.php/user">用户中心</a></td>
      </tr>
    </table>	
	
    <table width="720" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:18px;">
      <tr>
        <td width="720" align="left" valign="top"><table width="720" border="0" cellpadding="7" cellspacing="0" class="protable">
            <form id="regform" name="regform" method="post" action="<!--{$formaction}-->">
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">登录名:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$results->getLoginname()}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">密码:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="pwd1" type="password" size="30" maxlength="250" />&nbsp;(5-50位字母或数字,如不修改请留空)</td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">确认密码:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="pwd2" type="password" size="30" maxlength="250" /></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">真实姓名:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="realname" type="text" size="30" maxlength="50" value='<!--{$results->getRealname()}-->'/></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">性别:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><select name="sex">
								<option value='0' <!--{if 0==$results->getSex()}-->selected<!--{/if}-->>保密</option>
								<option value='1' <!--{if 1==$results->getSex()}-->selected<!--{/if}-->>男</option>
								<option value='2' <!--{if 2==$results->getSex()}-->selected<!--{/if}-->>女</option>
							</select></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">个人简介:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$editor}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">IM:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name='im' id='im' type='text' size='30' value='<!--{$results->getIm()}-->'></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">Email:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="email" type="text" size="30" maxlength="200" value='<!--{$results->getEmail()}-->'/></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">个人网站:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name='url' id='url' type='text' size='30' value='<!--{$results->getUrl()}-->'></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">联系电话:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="telno" type="text" size="30" maxlength="200" value='<!--{$results->getTelno()}-->'/></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">地址:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name='address' id='address' type='text' size='30' value='<!--{$results->getAddress()}-->'></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">状态:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{if 0==$results->getStatus()}-->正常<!--{/if}--><!--{if 1==$results->getStatus()}-->禁止<!--{/if}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">积分:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$results->getPointnum()}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">到期时间:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$stopdate}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">注册时间:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{'micefun'|Num2Time:$results->getRegdate()}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">最后登录:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{'micefun'|Num2Time:$results->getLastlogindate()}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">登录IP:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$results->getLastloginip()}--></td>
            </tr>
			<tr>
			  <td align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
			  <td valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
		    </tr>
			<tr>
			  <td align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
			  <td valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input type="submit" name="Submit" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="Submit2" value="重置" /></td>
		    </tr>
			</form>
        </table></td>
      </tr>
    </table>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
  </div>
  <div id="midright">
	<form method="post" id="soform" name="soform" action="<!--{$smarty.const.MICE_URL}-->index.php/search">
	<div class="mrBT">快速搜索</div>
	<div id="mrSCon" align="center">
		<input name="keywords" size="30">
	</div></form>
	<div class="mrBT" style="margin-top:20px;">服务项目</div>
		<div id="mrSCon">
		<!--{assign var=subsql value='WHERE category_id LIKE \'%,120,%\' ORDER BY istop DESC,createdat DESC'}-->
		<!--{foreach from='micefun'|ArticlePagerList:$subsql:4:1 item=Article name=counter}-->
			<!--{assign var=aid value='#'|cat:$Article->getArticleId()}-->
			<a href="<!--{'micefun'|ListUrl:120:1:$aid}-->" class="quk"><!--{$Article->getTitle()}--></a>
		<!--{/foreach}-->
	</div>
	<form action="<!--{$smarty.const.MICE_URL}-->index.php/poll" method="post" name="formpoll" id="formpoll">
	<div class="mrBT" style="margin-top:20px;"><!--{'micefun'|PollTitle:1}--></div>
		<div id="mrSCon">
		<input type="hidden" name="pollid" id="pollid" value="1">
		<!--{assign var=checks value='micefun'|PollChecks:1}-->
		<!--{foreach from='micefun'|PollList:1:0:5 item=poll name=counter}-->
			<label class="quk2"><input type="<!--{$checks}-->" name="poll<!--{if $checks=='checkbox'}-->[<!--{$poll->getPollId()}-->]<!--{/if}-->" id="poll<!--{if $checks=='checkbox'}-->[<!--{$poll->getPollId()}-->]<!--{/if}-->" value="<!--{$poll->getPollId()}-->" <!--{if $poll->getIsdefault()==0}-->checked<!--{/if}-->/><!--{$poll->getTitle()}--></label>
		<!--{/foreach}-->
		<div class="quk2"><input class="submit" type="submit" value="投票" /> <a href="<!--{$smarty.const.MICE_URL}-->index.php/pollresults/1">查看结果</a></div>
	</div>
	</form>
  </div>
  <div style="clear:both;"></div>
</div>
<!--{include file="index/footer.php"}-->
</div>
</body>
</html>